.sidebar-copilot {
  position: fixed;
  right: 0;
  top: 0;
  width: 350px;
  height: 100vh;
  background: #1e1e1e;
  border-left: 1px solid #222;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  font-family: 'Segoe UI', 'Consolas', monospace;
}
.sidebar-header {
  padding: 16px;
  font-size: 1.2em;
  font-weight: bold;
  background: #23272e;
  color: #fff;
  border-bottom: 1px solid #222;
}
.sidebar-files {
  padding: 8px 16px;
  border-bottom: 1px solid #222;
}
.sidebar-file {
  color: #ccc;
  font-size: 0.95em;
  margin-top: 4px;
}
.sidebar-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #181818;
}
.sidebar-msg {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 80%;
  word-break: break-word;
}
.sidebar-msg.user {
  background: #2d2d2d;
  color: #fff;
  align-self: flex-end;
  text-align: right;
}
.sidebar-msg.assistant {
  background: #23272e;
  color: #b3e5fc;
  align-self: flex-start;
  text-align: left;
}
.sidebar-input {
  display: flex;
  padding: 12px 16px;
  border-top: 1px solid #222;
  background: #23272e;
}
.sidebar-input input {
  flex: 1;
  padding: 8px;
  border-radius: 4px;
  border: none;
  background: #181818;
  color: #fff;
  font-size: 1em;
  margin-right: 8px;
}
.sidebar-input button {
  background: #0078d4;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
}
